package club.xyes.zkh.ecommerce.commons.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Create by 郭文梁 2019/4/17 0017 14:39
 * WechatConfigurationProperties
 * 微信相关配置
 *
 * @author 郭文梁
 * @data 2019/4/17 0017
 */
@Data
@Component
@ConfigurationProperties(prefix = "wx")
public class WechatConfigurationProperties {
    /**
     * 用户端小程序APPid
     */
    private String userMicroProgramAppId;
    /**
     * 用户端小程序APP Secret
     */
    private String userMicroProgramSecret;
    /**
     * 商家端小程序AppId
     */
    private String shopMicroProgramAppId;
    /**
     * 商家端小程序Secret
     */
    private String shopMicroProgramSecret;
    /**
     * 服务号APPId
     */
    private String serviceAccountAppId;
    /**
     * 服务号 secret
     */
    private String serviceAccountSecret;
}
